﻿<%@ Page Language="C#" MasterPageFile="~/Doanhnghiep/MasterPage.master" AutoEventWireup="true" CodeFile="SuaSP_DN.aspx.cs" Inherits="Doanhnghiep_SuaSP_DN" Title="Untitled Page" %>

<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentPlaceHolder" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
<div>
        <div class="title" style="font-weight: bold; font-size: 15pt; color: #0000cc; font-style: italic">
            Sửa Sản Phẩm</div>                  
        <div>
          <table width="100%" cellspacing="1" cellpadding="3" border="0"> 
                 <tr>
                    <td style="width:33%; color: gray; font-style: italic;" align="right">
                        Mã Sản Phẩm&nbsp;
                    </td>
                    <td style="width:69%; height: 26px;"><asp:TextBox Enabled="false" ID="txt_MaSP" runat="server" Width="56px"></asp:TextBox></td>
                </tr> 
                 <tr>
                    <td style="width:33%; color: gray; font-style: italic; height: 27px;" align="right">Tên Sản Phẩm&nbsp;
                    </td>
                    <td style="width:69%; height: 27px;"><asp:TextBox ID="txt_TenSP" runat="server" Width="264px"></asp:TextBox></td>
                </tr> 
              <tr>
                  <td align="right" style="width: 33%; color: gray; font-style: italic">
                      Doanh Nghiệp&nbsp;
                  </td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_doanhnghiep" runat="server" Enabled="False" Width="256px"></asp:TextBox></td>
              </tr>
                <tr>
                    <td style="width:33%; color: gray; font-style: italic;" align="right">
                        Danh Mục&nbsp;
                    </td>
                    <td style="width:69%; height: 26px;">
                        <asp:DropDownList CssClass="DropDownList" ID="ddl_dm" runat="server" Width="144px">
                        </asp:DropDownList></td>
                </tr>   
              <tr>
                  <td style="width: 33%; color: gray; font-style: italic; height: 26px" align="right">
                      Giá Gốc&nbsp;
                  </td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_giagoc" runat="server" Width="176px" Enabled="False"></asp:TextBox></td>
              </tr>
              <tr>
                  <td style="width: 33%; color: gray; font-style: italic; height: 26px" align="right">
                      Giá Bán&nbsp;
                  </td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_giaban" runat="server" Width="176px" Enabled="False"></asp:TextBox></td>
              </tr>
              <tr>
                  <td style="width: 33%; color: gray; font-style: italic; height: 26px" align="right">
                      Số Lượng Bán&nbsp;
                  </td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_soluongban" runat="server" Width="136px" Enabled="False"></asp:TextBox></td>
              </tr>
              <tr>
                  <td style="width: 33%; color: gray; font-style: italic; height: 26px" align="right">
                      Số Lượng Tối Đa&nbsp;
                  </td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_soluongtoida" runat="server" Width="136px" Enabled="False"></asp:TextBox></td>
              </tr>
              <tr>
                  <td style="width: 33%; color: gray; font-style: italic; height: 26px" align="right">
                      Đã Mua&nbsp;
                  </td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_damua" runat="server" Enabled="False" Width="88px"></asp:TextBox></td>
              </tr>
              <tr>
                  <td style="width: 33%; color: gray; font-style: italic; height: 26px" align="right">
                      Chiết Khấu&nbsp;
                  </td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_chietkhau" runat="server" Width="40px" Enabled="False"></asp:TextBox>
                      <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Italic="True" Font-Size="9pt"
                          ForeColor="#C00000" Text="(%)"></asp:Label></td>
              </tr>
              <tr>
                  <td style="width: 33%; color: gray; font-style: italic; height: 26px" align="right">
                      Ngày Sử Dụng&nbsp;
                  </td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_ngaysudung" runat="server" Width="176px" Enabled="False"></asp:TextBox></td>
              </tr>
              <tr>
                  <td style="width: 33%; color: gray; font-style: italic; height: 26px" align="right">
                      Ngày Hết Hạn&nbsp;
                  </td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_ngayhh" runat="server" Width="176px" Enabled="False"></asp:TextBox></td>
              </tr>
              <tr>
                  <td style="width: 33%; color: gray; font-style: italic; height: 26px" align="right">
                      Tình Trạng&nbsp;
                  </td>
                  <td style="width: 69%; height: 26px">
                      <asp:TextBox ID="txt_tinhtrang" runat="server" Enabled="False"></asp:TextBox></td>
              </tr>
              <tr>
                  <td style="width: 33%; color: gray; font-style: italic; height: 26px" align="right">
                      Mô Tả&nbsp;
                  </td>
                  <td style="width: 69%; height: 26px">
                  <FTB:FreeTextBox ID="ftb_mota" runat="server" ImageGalleryUrl="../ftb.imagegallery.aspx?rif=/imagespath/&cif=~/uploads/image/" ToolbarLayout=" ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,Strikethrough;Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertRule|Cut,Copy,Paste;Undo,Redo,Print, InsertImageFromGallery,Preview,SelectAll,WordClean,NetSpell">
</FTB:FreeTextBox>
                      &nbsp;</td>
              </tr>
              <tr>
                  <td style="width: 33%; color: gray; font-style: italic; height: 26px" align="right">
                      Quy Định&nbsp;
                  </td>
                  <td style="width: 69%; height: 26px">
                      <FTB:FreeTextBox ID="ftb_quydinh" runat="server" ImageGalleryUrl="../ftb.imagegallery.aspx?rif=/imagespath/&cif=~/uploads/image/" ToolbarLayout=" ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,Strikethrough;Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertRule|Cut,Copy,Paste;Undo,Redo,Print, InsertImageFromGallery,Preview,SelectAll,WordClean,NetSpell">
</FTB:FreeTextBox>
                  </td>
              </tr>
                   <tr>
                    <td style="width:33%; color: gray; font-style: italic;" align="right">Hình minh họa&nbsp;
                    </td>
                    <td style="width:69%">
                        <asp:Image ID="img_HinhMinhHoa" runat="server" />
                    </td>
                </tr>   
                  <tr>
                    <td style="width:33%; color: gray; font-style: italic; height: 26px;" align="right"></td>
                    <td style="width:69%; height: 26px;">
                        <asp:FileUpload ID="fu_HinhMinhHoa" runat="server" />
                    </td>
                </tr>   
                <tr>
                    <td style="width:33%; color: gray; font-style: italic;" align="right"></td>
                    <td style="width:69%"><asp:Button ID="btn_Update" runat="server" Text="Update" OnClick="btn_Update_Click" Height="32px" Width="120px"/></td>
                </tr>            
            </table>
        </div>
 </div>
 </div>
</asp:Content>

